package com.ikaros.model.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import javax.persistence.*;
@Data
@Table(name = "sys_user_login_log")
public class SysUserLoginLog {
    /**
     * 登录日志ID
     */
    @Id
    @Column(name = "log_id")
    @TableId(type = IdType.AUTO)
    private Long logId;

    /**
     * 登录时间
     */
    @Column(name = "login_time")
    private Integer loginTime;

    /**
     * 登录IP
     */
    @Column(name = "login_ip")
    private String loginIp;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 操作系统
     */
    @Column(name = "operating_system")
    private String operatingSystem;

    /**
     * 浏览器
     */
    private String browser;
}